package com.qut.qut_01.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.Map;

@Mapper
public interface Login_Reg_Mapper {

    @Insert("insert into Account(userAccount,userPwd) values(#{userAccount},md5(#{userPwd}))")
    int account_reg(Map<String,String> param);

    Map<String,Object> account_Login(Map<String,Object> param);
}
